﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using ShiXuLong.Service;
namespace ShiXuLong.Web.Controllers
{
   
    public class RecController : Controller
    {
        FrontDesk fd = new FrontDesk();
        ShoesService sps = new ShoesService();
        // GET: Rec
        /// <summary>
        /// 推荐管理控制器，没有主页
        /// </summary>
        /// <returns></returns>
        public ActionResult Index()
        {
            return View();
        }
        /// <summary>
        /// 推荐1号位置
        /// </summary>
        /// <returns></returns>
        public ActionResult TuiJian1()
        {
            var list = fd.GetRecShop();
            ViewBag.AdminUrl = MyConfig.AdminUrl;

            return View(list);
        }
        /// <summary>
        /// 轮播图，所在的那一部分
        /// </summary>
        /// <returns></returns>
        public ActionResult LunBo()
        {
            var lists = sps.GetLunBo();
            return View(lists);
        }
    }
}